package com.ruoyi.customer.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 合同信息对象 tb_customer
 * 
 * @author ruoyi
 * @date 2025-10-20
 */
public class TbCustomer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long customerId;

    /** 合同编号 */
    @Excel(name = "合同编号")
    private String customerCode;

    /** 客户星系 */
    @Excel(name = "客户星系")
    private String custometName;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 购买学科 */
    @Excel(name = "购买学科")
    private Long subject;

    /** 购买课程 */
    @Excel(name = "购买课程")
    private Long course;

    /** 合同状态 */
    @Excel(name = "合同状态")
    private Long status;

    public void setCustomerId(Long customerId) 
    {
        this.customerId = customerId;
    }

    public Long getCustomerId() 
    {
        return customerId;
    }

    public void setCustomerCode(String customerCode) 
    {
        this.customerCode = customerCode;
    }

    public String getCustomerCode() 
    {
        return customerCode;
    }

    public void setCustometName(String custometName) 
    {
        this.custometName = custometName;
    }

    public String getCustometName() 
    {
        return custometName;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public void setSubject(Long subject) 
    {
        this.subject = subject;
    }

    public Long getSubject() 
    {
        return subject;
    }

    public void setCourse(Long course) 
    {
        this.course = course;
    }

    public Long getCourse() 
    {
        return course;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("customerId", getCustomerId())
            .append("customerCode", getCustomerCode())
            .append("custometName", getCustometName())
            .append("phone", getPhone())
            .append("subject", getSubject())
            .append("course", getCourse())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .toString();
    }
}
